import service from '../request'

// 获取热力图
export function getDrawHeatMapoints() {
  return service({
    url: '/Draw/DrawHeatMap/hm',
    method: 'get',
  })
}
//
export function getDrawHeatMapTree() {
  return service({
    url: '/Draw/DrawHeatMap/map',
    method: 'get',
  })
}

//
export function getDrawHeatMap() {
  return service({
    url: '/Draw/DrawHeatMap/geojson',
    method: 'get',
  })
}

// 新增热力图
export function postAddDrawHeatMap(params) {
  return service({
    url: '/Draw/DrawHeatMap',
    method: 'post',
    data: params,
  })
}
